package com.pactera.madp.cp.common.constant;

import com.pactera.madp.cp.config.ConstantConfig;

/**
 * 行为跟踪消息提醒模板
 */
public interface BehaviorTrackFormatConst {

    //    String Learn_URL = "https://shimo.im/docs/5rk9d87a27Cwjjqx/read";
    String Learn_URL = ConstantConfig.getApiUrl() + "/mfs/learn.pdf";

    //    String Custom_Detail_URL = ConstantConfig.getApiUrl() + "/#/customerDetail?wxUserId=%s&wxExternalUserId=%s&cid=%s&tid=%s&aid=%s";
    String Custom_Detail_URL = ConstantConfig.getApiUrl() + "/#/customerDetail?wxUserId=%s&wxExternalUserid=%s&isSharePage=1";

    // 待任务发布完成后须换成任务的路径
    String Task_Detail_URL = ConstantConfig.getApiUrl() + "/#/customerData?wxUserId=%s&wxExternalUserId=%s&cid=%s&tid=%s";

    String Daily_Detail_URL = ConstantConfig.getApiUrl() + "/#/statics?dailyDate=%s";

    String Manager_View_URL = ConstantConfig.getApiUrl() + "/#/managerView?wxUserId=%s";

//    String TASK_TO_EPMLOYEE = ConstantConfig.getApiUrl() + "/#/managerReminder?wxUserId={}&type=0";
    String TASK_TO_EPMLOYEE = ConstantConfig.getApiUrl() + "/#/managerReminder?wxUserId={}&type=1";

    String MOMENTS_TASK_TO_EPMLOYEE = ConstantConfig.getApiUrl() + "/#/managerReminder?wxUserId={}&type=1";

    String TODO_TO_EPMLOYEE_URL = ConstantConfig.getApiUrl() + "/#/managerReminder?wxUserId=%s&type=2";

    String MarketingFormat = "[%s]打开了[%s]在[%s]里发送的营销素材[%s]，\n<a href='%s'>点击查看链接</a>，\n<a href='" + Custom_Detail_URL + "'>点击查看客户详情</a>";

    String ProductFormat = "[%s]打开了[%s]在[%s]里发送的产品[%s]，\n<a href='%s'>点击查看链接</a>，\n<a href='" + Custom_Detail_URL + "'>点击查看客户详情</a>";

    String MarketingTrackFormat = "[%s]打开了[%s]在[%s]里发送的营销素材\n<a href='%s'>[%s]</a>";

    String ProductTrackFormat = "[%s]打开了[%s]在[%s]里发送的产品\n<a href='%s'>[%s]</a>";

    String LostFormat1 = "@%s，您的客户%s、手机号：%s已成为流失客户，\n<a href='" + Custom_Detail_URL + "'>点击查看客户详情</a>" + "\n\n" + "建议重新添加好友，或者共享给同事，进行二次激活。\n<a href='" + Learn_URL + "'>查看教程</a>";

    String LostFormat2 = "@%s，您的客户%s已成为流失客户，\n<a href='" + Custom_Detail_URL + "'>点击查看客户详情</a>" + "\n\n" + "建议重新添加好友，或者共享给同事，进行二次激活。\n<a href='" + Learn_URL + "'>查看教程</a>";

    String TodoFormat = "@%s，你收到一条关于客户 [%s] 的提醒事件,待您处理！\n<a href='" + TODO_TO_EPMLOYEE_URL + "'>点击查看代办任务</a>";

    String CustomFormFormat = "[%s]打开了自定义表单[%s]，\n<a href='" + Custom_Detail_URL + "'>点击查看客户详情</a>";

    String DailyDataFormat = "【数据日报】\n" +
            "客户数据\n" +
            "昨日客户总数: %s\n" +
            "昨日新增客户数: %s\n" +
            "昨日流失客户数: %s\n" +
            "昨日净增客户数: %s\n\n\n" +
            "客户群数据\n" +
            "昨日客户群数据: %s\n" +
            "昨日客户群新增数据: %s\n" +
            "昨日群客户总数: %s\n" +
            "昨日客户群新增客户数: %s\n" +
            "昨日客户群流失客户数: %s\n" +
            "昨日客户群净增客户数: %s\n\n" +
            "<a href='" + Daily_Detail_URL + "'>点击查看详情</a>";

    String FinancialShopFormat = "@[%s]，[%s]打开了您发送的金融小店，\n<a href='%s'>点击查看链接</a>，\n<a href='" + Custom_Detail_URL + "'>点击查看客户详情</a>";

    String FinancialShopTrackFormat = "[%s]打开了[%s]发送的金融小店";

    String UntalkFormFormat1 = "@[%s]，客户 [%s]、手机号:[%s]已成为你的未交流客户，请尽快与客户联系，\n<a href='" + Custom_Detail_URL + "'>点击查看客户详情</a>";

    String UntalkFormFormat2 = "@[%s]，客户 [%s]已成为你的未交流客户，请尽快与客户联系，\n<a href='" + Custom_Detail_URL + "'>点击查看客户详情</a>";
/*

    String TaskFormFormat = "@[%s]，,您有一条[%s]任务，待您处理，<a href='"+ Task_Detail_URL +"'>点击查看任务详情</a>";
*/

    String TaskFormFormat = "@[%s]，,您有一条[%s]任务，待您处理，\n<a href='%s'>点击查看任务详情</a>";

    String MarketingEventRemindFormat = "【营销事件提醒】\n" +
            "您有\n" +
            "产品到期%s条\n" +
            "生日到期%s条\n" +
            "未交流客户%s人\n" +
            "营销线索%s条\n" +
            "待您处理，<a href='" + Manager_View_URL + "'>点击查看详情</a>";

    String TASKTOEOMPLOYEE = "@[{}],您有一条获客任务，待您处理，\n<a href='" + TASK_TO_EPMLOYEE + "'>点击查看任务详情</a>";

    String MOMENTSTASKTOEOMPLOYEE = "@[{}],您有一条朋友圈任务，待您处理，\n<a href='" + MOMENTS_TASK_TO_EPMLOYEE + "'>点击查看任务详情</a>";

    String TASKTOEOMPLOYEEBYREMIND = "您有【{}】任务尚未完成，请尽快完成，\n<a href='" + TASK_TO_EPMLOYEE + "'>点击查看任务详情</a>";

}
